package zzs.generalframework.console.core.parameter.commonparameter.maritalstatus.dao;

import java.util.List;

import zzs.generalframework.common.core.parameter.commonparameter.maritalstatus.MaritalStatusInfo;
import zzs.generalframework.common.core.parameter.commonparameter.maritalstatus.MaritalStatusPO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.parameter.commonparameter.maritalstatus.dao
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface IMaritalStatusDao
{
	/**
	 * 创建婚姻状况信息
	 * 
	 * @param maritalStatusPO
	 * @return
	 */
	public boolean insert(MaritalStatusPO maritalStatusPO);

	/**
	 * 更新婚姻状况信息
	 *
	 * @param maritalStatusPO
	 * @return
	 */
	public boolean update(MaritalStatusPO maritalStatusPO);

	/**
	 * 查询婚姻状况信息
	 *
	 * @param maritalStatusInfo
	 * @return
	 */
	public List<MaritalStatusPO> select(MaritalStatusInfo maritalStatusInfo);

	/**
	 * 删除婚姻状况信息
	 *
	 * @param maritalStatusPO
	 * @return
	 */
	public boolean delete(MaritalStatusPO maritalStatusPO);

	/**
	 * 统计婚姻状况信息
	 * 
	 * @param maritalStatusPO
	 * @return
	 */
	public Long count(MaritalStatusPO maritalStatusPO);

}
